package com.itheima.ydd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.ydd.dto.UserDto;
import com.itheima.ydd.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-02-18
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<UserDto> getList(@RequestParam("page") Long page, @RequestParam("pageSize") Long pageSize, @RequestParam("sysUser") User sysUser);

}
